package com.webcamtracker.move.gestures;

import java.util.List;

/**
 * Interface for mouse gestures listener.
 *
 * @author Smardec
 * @version 1.2
 */
public interface MoveGesturesListener
{
    /**
     * Called when full mouse gesture is recogized (mouse button is released).
     *
     * @param gesture String representation of mouse gesture. "L" for left, "R" for right,
     */
    public void processGesture(List<MoveType> gesture);

    /**
     * Called when new mouse movement is recognized but mouse gesture is not yet completed.
     *
     * @param currentGesture String representation of recognized movements. "L" for left, "R" for right,
     */
    public void gestureMovementRecognized(List<MoveType> currentGesture);
}
